<template>
    <div class="myguide">
        <div class="myguide-top">
            <div><van-icon name="search" size="40"/><span>找攻略</span></div>
            <div><van-icon name="description" size="40"/><span>看游记</span></div>
            <div><van-icon name="question-o" size="40"/><span>问达人</span></div>
            <div><van-icon name="friends-o" size="40"/><span>头脑学园</span></div>
        </div>
        <div class="myguide-bottom">
            <div><van-icon name="search" size="40" @click="gotohotel"/><span>酒店</span></div>
            <div><van-icon name="description" size="40"/><span>去旅行</span></div>
            <div><van-icon name="question-o" size="40"/><span>机票</span></div>
            <div><van-icon name="friends-o" size="40"/><span>当地玩乐</span></div>
        </div>
    </div>
</template>

<script>
export default{
    methods:{
        gotohotel(){
            this.$router.push("/hotel")
        }
    }
}
</script>

<style lang="scss" scoped>
.myguide{
    width: 100%;
    height: 217px;
    display: flex;
    flex-direction: column;
    &-top{
        height: 108px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        background-color: orange;
        div{
            display: flex;
            flex-direction: column;
        }
    }
    &-bottom{
        height: 108px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        background-color: orange;
        div{
            display: flex;
            flex-direction: column;
        }
    }
}
</style>